package com.ruoyi.ctcx.service;

import java.util.List;
import com.ruoyi.ctcx.domain.TbInsuranceAttachmentRelate;

/**
 * 保险附件关联Service接口
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public interface ITbInsuranceAttachmentRelateService 
{
    /**
     * 查询保险附件关联
     * 
     * @param id 保险附件关联主键
     * @return 保险附件关联
     */
    public TbInsuranceAttachmentRelate selectTbInsuranceAttachmentRelateById(Long id);

    /**
     * 查询保险附件关联列表
     * 
     * @param tbInsuranceAttachmentRelate 保险附件关联
     * @return 保险附件关联集合
     */
    public List<TbInsuranceAttachmentRelate> selectTbInsuranceAttachmentRelateList(TbInsuranceAttachmentRelate tbInsuranceAttachmentRelate);

    /**
     * 新增保险附件关联
     * 
     * @param tbInsuranceAttachmentRelate 保险附件关联
     * @return 结果
     */
    public int insertTbInsuranceAttachmentRelate(TbInsuranceAttachmentRelate tbInsuranceAttachmentRelate);

    /**
     * 修改保险附件关联
     * 
     * @param tbInsuranceAttachmentRelate 保险附件关联
     * @return 结果
     */
    public int updateTbInsuranceAttachmentRelate(TbInsuranceAttachmentRelate tbInsuranceAttachmentRelate);

    /**
     * 批量删除保险附件关联
     * 
     * @param ids 需要删除的保险附件关联主键集合
     * @return 结果
     */
    public int deleteTbInsuranceAttachmentRelateByIds(Long[] ids);

    /**
     * 删除保险附件关联信息
     * 
     * @param id 保险附件关联主键
     * @return 结果
     */
    public int deleteTbInsuranceAttachmentRelateById(Long id);

    void deleteRelateByMainId(String mainId);


}
